package com.aplink.generic.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Hashtable;

public class RecordInfo implements Serializable {
    private static final long serialVersionUID = 6680572567210170714L;
    private ArrayList<Hashtable<String, String>> mRecords;
    private String mTableName;

    public RecordInfo() {
        this.mRecords = new ArrayList<Hashtable<String, String>>();
    }

    public void addRecord(final Hashtable<String, String> newRecord) {
        if (this.mRecords != null) {
            this.mRecords.add(newRecord);
        }
    }

    public ArrayList<Hashtable<String, String>> getmRecordList() {
        return this.mRecords;
    }

    public String getmTableName() {
        return this.mTableName;
    }

    public void setmRecordList(
            final ArrayList<Hashtable<String, String>> mRecordList) {
        this.mRecords = mRecordList;
    }

    public void setmTableName(final String mTableName) {
        this.mTableName = mTableName;
    }
}
